package com.jindy.module.projectEngineerCost.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 项目应扣工程费用明细对象 t_project_engineer_cost
 * 
 * @author jindy
 * @date 2023-04-26
 */
public class ProjectEngineerCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 费用类别 */
    @Excel(name = "费用类别")
    private String expenseCategory;

    /** 类型:1对账单 2：结算单 */
    @Excel(name = "类型:1对账单 2：结算单")
    private String orderType;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 类别总金额 */
    @Excel(name = "类别总金额")
    private BigDecimal totalAmount;

    /** 对账单、结算单id */
    @Excel(name = "对账单、结算单id")
    private Long orderId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExpenseCategory(String expenseCategory) 
    {
        this.expenseCategory = expenseCategory;
    }

    public String getExpenseCategory() 
    {
        return expenseCategory;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("expenseCategory", getExpenseCategory())
            .append("orderType", getOrderType())
            .append("unit", getUnit())
            .append("totalAmount", getTotalAmount())
            .append("orderId", getOrderId())
            .toString();
    }
}
